package com.cskaoyan.service.adminservice;

import com.cskaoyan.bean.po.MarketAdmin;
import com.cskaoyan.bean.common.BasePageInfo;
import com.cskaoyan.bean.common.BaseRespVo;
import com.cskaoyan.bean.chaosbean.system.vo.SystemListVo;

import java.util.List;

/**
 * @author stone
 * @date 2022/09/06 11:44
 */
public interface AdminService {
    MarketAdmin queryById(Integer id);

    void modify(MarketAdmin admin);

    List<MarketAdmin> query(String username, String password, String[] avatars,Integer page,Integer limit);

    SystemListVo listAdmin(BasePageInfo basePageInfo,String username);

    BaseRespVo create(MarketAdmin marketAdmin);

    BaseRespVo update(MarketAdmin marketAdmin);



   void delete(Integer id);
}
